package unidad4;

public class EvenOdd {

	public static void main(String [] args){
		
		String oddOrEven;
		
		for (int i = 0 ; i < 40; i++){
			
			if (i % 2 == 0){
				
				System.out.println("Even "+i);
				
			}else
				
			System.out.println("Odd "+i);
		
		}
		
		for (int i = 0; i < 40; i++){
			
			oddOrEven = (i % 2 == 0)?"Even":"Odd";
			System.out.println(oddOrEven+" "+i);
			
		}
		
		
		
		
	}
	
}
